package com.tdam.CommunicationManager;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.TextView;

public class MyInfo extends Activity {

	protected void onCreate(Bundle savedInstanceState) {
		
		super.onCreate(savedInstanceState);
		setContentView(R.layout.my_info);
		TextView txtSettings=(TextView) findViewById(R.id.txtSettings);
		txtSettings.setOnClickListener(new OnClickListener() {   
			@Override
			public void onClick(View v) {
				 Intent settingsActivity = new Intent(getBaseContext(),UserPreferences.class);
				 startActivity(settingsActivity);				
				
				//nextView();
			}
		});
		TextView txtUserName=(TextView)findViewById(R.id.txtName);
		txtUserName.setText(User.name);
		
	}

}
